package com.wonders.ssm.controller;

import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * ssm视图导航
 * Created by lv on 2018/8/3.
 */
@RestController
public class ViewController {

    private Logger logger = Logger.getLogger(getClass());

    /**
     * 登录导航
     * @return
     */
    @RequestMapping("login.html")
    public ModelAndView login(){
        return new ModelAndView("login");
    }
}
